<?php
header("Content-type: text/xml");
echo ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
$server = str_replace('www', '', $_SERVER["SERVER_NAME"]);
?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap_home.xml</loc>
        <lastmod><?=gmdate('Y-m-d', time() - 60*60*24*1)?></lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_new1.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_new2.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_new3.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_new4.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_new5.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_new6.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_new7.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_1.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_2.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_3.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_4.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_5.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_6.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_7.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_8.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
    <sitemap>
        <loc>http://<?=$server?>/udnmovies3/sitemap/sitemap_400_9.xml.gz</loc>
        <lastmod>2013-01-23</lastmod>
    </sitemap>
</sitemapindex>